package shuai.action;

import java.util.List;

import shuai.biz.UserBiz;
import shuai.model.User;

public class UserAction extends BaseAction{
	private UserBiz userBiz;

	public String list(){
		List<User> list=userBiz.findAll();
		System.out.println("list========"+list);
		getRequest().setAttribute("list", list);
		return SUCCESS;
	}
	
	public UserBiz getUserBiz() {
		return userBiz;
	}

	public void setUserBiz(UserBiz userBiz) {
		this.userBiz = userBiz;
	}
	
	
}
